package com.hoshiicloud.user.service.organization;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.user.entity.organization.StoreOrganization;

import java.util.List;

/**
 * <p>
 * 店铺（伙伴/供应商) 服务类
 * </p>
 *
 * @author campchen
 * @since 2019-04-28
 */
public interface StoreOrganizationService extends IService<StoreOrganization> {

    IPage<StoreOrganization> getPage(IPage page, QueryWrapper queryWrapper, String key);


    StoreOrganization getById(Long id);

    String insert(StoreOrganization param);

    boolean updateById(StoreOrganization param);

    StoreOrganization getByOrgcode(String orgcode);

    boolean updateById(Long id,Integer status);

    List<StoreOrganization> getByIds(List<Long> ids,String key);



}
